
export default {
	updateInterval: 60 * 1000, // 数据更新间隔 ms
	network: '0x38', // 默认网络
	wallet: 'metamask', // 默认钱包
	wallets: ['metamask', 'tokenpocket', 'bitkeep'],
	networks: [
		// {
		//   chainId: '0x5', // A 0x-prefixed hexadecimal string
		//   chainName: 'Goerli TestNet',
		//   nativeCurrency: {
		//     name: 'goerli',
		//     symbol: 'ETH', // 2-6 characters long
		//     decimals: 18,
		//   },
		//   rpcUrls: ['https://rpc.goerli.mudit.blog'],
		//   blockExplorerUrls: ['https://goerli.etherscan.io'],
		//   iconUrls: ['goerli'], // Currently ignored.
		// },
		// 网络配置
		{
			chainId: '0x38', // network.chainId.toString(16)
			chainName: 'Binance',
			nativeCurrency: {
				name: 'Binance',
				symbol: 'BNB', // 2-6 characters long
				decimals: 18,
			},
			blockExplorerUrls: ['https://bscscan.com'],
			rpcUrls: [
				'https://rpc-bsc.bnb48.club',
				'https://bsc.mytokenpocket.vip',
				'https://bsc-dataseed3.ninicoin.io',
				'https://bsc-dataseed1.ninicoin.io',
				'https://binance.nodereal.io',
				'https://bsc-dataseed4.defibit.io',
				'https://bsc-dataseed1.binance.org',
				'https://bsc-dataseed.binance.org	',
				'https://bsc-dataseed2.binance.org',
				'https://bsc-dataseed1.defibit.io',
				'https://bsc-dataseed2.defibit.io',
				'https://bsc-dataseed3.binance.org',
				'https://rpc.ankr.com/bsc',
				'https://bsc-dataseed3.defibit.io',
				'https://bsc-dataseed2.ninicoin.io',
				'https://bsc-dataseed4.binance.org',
				'https://bscrpc.com',
			],
			iconUrls: [''],
		},
	],
	// 主网
	spxContractAddr: '0x212fACFf93f0830Ed39229fa55615173C3AC98C5', // spx 合约地址
	usdtContractAddr: '0x55d398326f99059fF775485246999027B3197955', // usdt 代币地址
	abi: [
		// erc 20
		'function name() public view returns (string memory)', //  name
		'function symbol() public view returns (string memory)', // 代币
		'function decimals() external view returns (uint8)', // 单位
		'function initialSupply() external view returns (uint256)', // 初始发行量
		'function totalSupply() external view returns (uint256)', // 总供给
		'function balanceOf(address account) external view returns (uint256)', // 获取余额
		'event Transfer(address indexed from, address indexed to, uint256 value)', // 转账事件
		'function approve(address spender, uint256 amount) public returns (bool)', // 授权
		// 合约
		'function liquidityMint() public returns (bool)', // LP提取
		'function getLpClaim(address account) public view returns (uint256)', // 查询 LP 可提取余额
		'function buyNFTCard(uint256 amountRora, uint256 amountUsd, uint256 random) public returns (bool)', // 购买
		// spx 相关 1, 铸造获取身份 2, 发布任务 3, 确认支付
		'function mintNft(uint256 mint) public returns (bool)',
		'function publish(address nomad, uint256 amount, uint256 stage, uint256 random) public returns (bool)',
		'function dislodge(uint256 random, address nomad) public returns (bool)',
	],
};